package com.example.b_308.medical.model.base;

import java.io.Serializable;

/**
 * Created by B-308 on 2017/11/14.
 */

public class BaseScheduling extends BaseModel implements Serializable {
    /**
     * 排班时间段
     */
    String scheduling_time;
    /**
     * 挂号总数
     */
    Integer total_registration;
    /**
     * 已挂号数量
     */
    Integer registered_quantity;

    public BaseScheduling() {
    }

    public String getScheduling_time() {
        if (null == scheduling_time) {
            scheduling_time = getStr("scheduling_time");
        }
        return scheduling_time;
    }

    public Integer getTotal_registration() {
        if (null == total_registration) {
            total_registration = getInt("total_registration");
        }
        return total_registration;
    }

    public Integer getRegistered_quantity() {
        if (null == registered_quantity) {
            registered_quantity = getInt("registered_quantity");
        }
        return registered_quantity;
    }

    public void setScheduling_time(String scheduling_time) {

        put("scheduling_time", scheduling_time);
        this.scheduling_time = scheduling_time;
    }

    public void setTotal_registration(Integer total_registration) {

        put("total_registration", total_registration);
        this.total_registration = total_registration;
    }

    public void setRegistered_quantity(Integer registered_quantity) {

        put("registered_quantity", registered_quantity);
        this.registered_quantity = registered_quantity;
    }
}
